package com.ruoyi.system.service.evaluationService;

import com.ruoyi.system.domain.evaluation.EvaluationEnity;
import com.ruoyi.system.domain.evaluation.Location;
import com.ruoyi.system.domain.evaluation.Store;
import com.ruoyi.system.domain.evaluation.StoreLocation;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface StoreService {
    List<Store> selectStoreByLocation_id(int location_id);
    int insertStore(Store store);
    int updateScore(int id);
    List<Store> selectAllStore();
    List<StoreLocation> selectStoreLocation();
    List<StoreLocation> selectStoreByListId(String ids);
   int  updateScoreAndCount();
    //根据Store_id查找商铺
    Store selectStoreByStore_id(int store_id);
    //更新信息
    int updateStore(Store store);
    //删除商铺信息
    int deleteStoreByID(int id);
    int deleteStore(String ids);
    List<StoreLocation> selectStoreList(String storeName,String location_id,String score);
}
